package com.hs.egova.hibernate;

import org.hibernate.EmptyInterceptor;

/**
 * @author husheng
 * @version v1.0
 * @date 2021/7/26 16:05
 * @email husheng@egova.com.cn
 */
public class HibernateInteceptor extends EmptyInterceptor {

    public HibernateInteceptor() {}

    @Override
    public String onPrepareStatement(String sql) {
        return convertSql(sql);
    }

    private String convertSql(String sql) {
        return sql;
    }
}
